package pers.qianyu.module.system.listener.events;

import org.springframework.context.ApplicationEvent;

import java.io.Serializable;

/**
 * 用户信息变更事件
 *
 * @author mizzle rain
 * @date 2021-04-06 14:13
 */
public class SysUserInfoUpdatedEvent extends ApplicationEvent implements Serializable {
    private static final long serialVersionUID = 4016413249998479031L;
    private Long userId;

    public SysUserInfoUpdatedEvent(Object source, Long userId) {
        super(source);
        this.userId = userId;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }
}
